<script setup lang="ts">
import { ref } from 'vue'
import SonYaoQianForFu from './components/SonYaoQianForFu.vue'
const msg01 = ref('你他么是个屁呀')
const giveMoney = (money: number) => {
  console.log(money)
}
const sayHello = (msg: string) => {
  msg01.value = msg
}
</script>

<template>
  <div>
    <!-- 结构 -->
    <SonYaoQianForFu :msg="msg01" @give-money="giveMoney" @say-hello="sayHello"></SonYaoQianForFu>
  </div>
</template>

<style>
/* 样式 */
</style>
